package ${package};

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Spring Boot 程序入口类
 *
 * @author zhangw-ad
 */
@SpringCloudApplication
@EnableFeignClients
@EnableAutoConfiguration
@EnableAspectJAutoProxy(exposeProxy = true)  //AopContext获取代理对象生效必须设置此属性为true
public class TestServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(TestServiceApplication.class, args);
    }
}
